package com.xdap.common.pojo.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;

//可见人列表
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class ApprovalCreateViewersDTO implements Serializable {
    /**
     * 可见人类型
     */
    @JSONField(name = "viewer_type")
    private String viewerType;
    /**
     * 当 view_type 是 USER，根据user_id_type填写用户id
     */
    @JSONField(name = "viewer_user_id")
    private String viewerUserId;
    /**
     * 当 view_type 为DEPARTMENT，根据department_id_type填写部门id
     */
    @JSONField(name = "viewer_department_id")
    private String viewerDepartmentId;
}
